from app.models.base import Base
from sqlalchemy import Column, Integer, String, CHAR, DateTime, Float, desc, text
from app.models.base import db, Base


class xueshu_sentence(Base):
    id = Column(Integer, primary_key=True, autoincrement=True)
    order_number = Column(String(30), nullable=False)
    sentence_index = Column(CHAR(8), nullable=False)
    origin_content = Column(String(150), nullable=False)
    similar_content = Column(String(1000), default='')
    key_words = Column(String(80), default='')
    rate = Column(Float, default=0)
    periodical = Column(String(50), default='')
    author = Column(String(50), default='佚名')
    abstract = Column(String(500), default='')
    citation = Column(String(10), default='')
    years = Column(String(10), default='2010')
    title = Column(String(80), default=0)
